package viz.controller.core
{
	import mx.collections.ArrayCollection;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	import viz.model.flare.data.StateMap;
	import viz.view.components.PackageComboBox;
	import viz.view.components.StateComboBox;

	public class PopulateCombosCmd extends SimpleCommand
	{
		override public function execute(note:INotification):void{
			var stateMap:StateMap = StateMap( note.getBody() );
			PackageComboBox.sharedData =new ArrayCollection( stateMap.packagelist );
			StateComboBox.sharedData = stateMap ;
		}
		
	}
}